package com.melesta.engine;

import android.content.Context;
import android.util.AttributeSet;
import android.view.KeyEvent;
import android.widget.EditText;

public class EngineEditText extends EditText
{
  private EngineGLSurfaceView mCocos2dxGLSurfaceView;

  public EngineEditText(Context paramContext)
  {
    super(paramContext);
  }

  public EngineEditText(Context paramContext, AttributeSet paramAttributeSet)
  {
    super(paramContext, paramAttributeSet);
  }

  public EngineEditText(Context paramContext, AttributeSet paramAttributeSet, int paramInt)
  {
    super(paramContext, paramAttributeSet, paramInt);
  }

  public boolean onKeyDown(int paramInt, KeyEvent paramKeyEvent)
  {
    super.onKeyDown(paramInt, paramKeyEvent);
    if (paramInt == 4)
      this.mCocos2dxGLSurfaceView.requestFocus();
    return true;
  }

  public void setCocos2dxGLSurfaceView(EngineGLSurfaceView paramEngineGLSurfaceView)
  {
    this.mCocos2dxGLSurfaceView = paramEngineGLSurfaceView;
  }
}

/* Location:           E:\android\Toy Defense 2_dex2jar.jar
 * Qualified Name:     com.melesta.engine.EngineEditText
 * JD-Core Version:    0.6.2
 */